using System;
using System.Collections.Generic;
using LinFu.IoC.Configuration;

namespace CoreEx.Samples.DomainModel.Implementation
{
	[Implements(typeof(ICustomer))]
	[Serializable]
	public class Customer : ICustomer
	{

		#region Private Members

		private readonly IList<ICustomerCustomerDemo> _customerCustomerDemo = new List<ICustomerCustomerDemo>();
		private readonly IList<IOrder> _orders = new List<IOrder>();

		#endregion

	    private string _customerId;
	    public string CustomerID
	    {
	        get { return _customerId; }
	        set { _customerId = value; }
	    }

	    private string companyName;
	    public string CompanyName
	    {
	        get { return companyName; }
	        set
	        {	          
                companyName = value;
	        }
	    }

        


	    public string ContactName { get; set; }
        private void DoSomething()
        {
            Console.WriteLine("");
        }
       
		public string ContactTitle { get; set; }
		public string Address { get; set; }
		public string City { get; set; }
		public string Region { get; set; }
		public string PostalCode { get; set; }
		public string Country { get; set; }
		public string Phone { get; set; }
		public string Fax { get; set; }
       
		public IList<ICustomerCustomerDemo> CustomerCustomerDemo 
		{
			get { return _customerCustomerDemo; }
		}
		public IList<IOrder> Orders 
		{
			get { return _orders; }
		}

      
	}
}
